package at.spengergasse.web.servlet;

import java.sql.Connection;

import javax.servlet.ServletContext;
import javax.servlet.http.HttpServlet;

import org.apache.log4j.Logger;

import at.spengergasse.dao.util.JDBCConnectionController;

@SuppressWarnings("serial")
public abstract class AbstractServlet extends HttpServlet
{

	protected final Logger log;

	protected final Connection connection;

	protected ServletContext servletContext;

	public AbstractServlet() throws Exception
	{
		// log = LogFactory.getLog(getClass());
		log = Logger.getLogger(getClass());
		connection = JDBCConnectionController.getConnection();

	}

}
